@extends('admin.layout')
@section('content')

                        <div class="content-wrapper">
        <!-- Content Header (Page header) -->
        <section class="content-header">
            <h1>
                友情链接浏览
                <small>快速浏览友情链接</small>
            </h1>
            <ol class="breadcrumb">
                <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
                <li><a href="#">Tables</a></li>
                <li class="active">Data tables</li>
            </ol>
        </section>

        <!-- Main content -->
        <section class="content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="box">
                        <div class="box-header">
                            <h3 class="box-title">友情链接浏览</h3>
                        </div><!-- /.box-header -->
                        <div class="box-body">
                            <table id="example2" class="table table-bordered table-hover">
                                <thead>
                                <tr>
                                    <th>轮播图ID</th>
                                    <th>图片</th>
                                    <th>时间</th>
                                    <th>操作</th>
                                </tr>
                               </thead>
                               @foreach($data as $v)
                               <thead>
                               <tr>
                                   <td>{{ $v->a_sid }}</td>
                                   <td><img src="{{ $v->a_spic }}" alt="" style="width:150px;height:100px;"></td>
                                   <td>{{ $v->a_screateTime }}</td>
                                   <td><a href="{{url('/admin/lunbo/edit')}}/{{ $v->a_sid}}">编辑</a> | 
                                       <a href="{{url('/admin/lunbo/delete')}}/{{ $v->a_sid}}">删除</a></td>
                               </tr>
                               </thead>
                               @endforeach
                            </table>
                        </div><!-- /.box-body -->
                    </div><!-- /.box -->

                   
                </div><!-- /.col -->
            </div><!-- /.row -->
        </section><!-- /.content -->
    </div><!-- /.content-wrapper -->
@endsection